//
//  SZRadianLayerView.h
//  HX2Car
//
//  Created by Mudmen on 2019/9/24.
//  Copyright © 2019 Hx2car_mac. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, SZRadianDirection) {
    SZRadianDirectionBottom     = 0,
    SZRadianDirectionTop        = 1,
    SZRadianDirectionLeft       = 2,
    SZRadianDirectionRight      = 3,
};

@interface SZRadianLayerView : UIView
// 圆弧方向, 默认在下方
@property (nonatomic) SZRadianDirection direction;
// 圆弧高/宽, 可为负值。 正值凸, 负值凹
@property (nonatomic) CGFloat radian;
@end

NS_ASSUME_NONNULL_END
